import Vue from "vue";
import "./plugins/axios";
import App from "./App.vue";
import router from "./router";
import Vant from "vant";
import "vant/lib/index.css";
import { Lazyload } from "vant";
import { PullRefresh } from 'vant';
import moment from 'moment/moment'
Vue.use(PullRefresh);
Vue.use(Vant);
Vue.use(Lazyload);
Vue.config.productionTip = false;
Vue.filter('moment', function (value, formatString) {
    formatString = formatString || 'YYYY年MM月DD日';
 return moment(value).format(formatString);

});
new Vue({
    router,
    render: (h) => h(App),
    data: function() {
        return {
            isShowLoading: false,
        };
    },
}).$mount("#app");
